package com.jianggy.adapter;

/**
 * 适配器类
 */
public class Adapter implements Target {
	private Adaptee adaptee;
	public Adapter(Adaptee adaptee) {
		this.adaptee = adaptee;
	}
	
	@Override
	public void targetMethod() {
		System.out.println("这是适配器方法");
		adaptee.request();
	}
}
